.wrapper {
  max-width: 1280px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: auto;
  padding: 0 15px;
}

.header {
  box-shadow: 0 -2px 20px 8px hsla(0, 10%, 10%, 0.1);
  margin-bottom: 15px;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: white;
}

.navigation {
  display: flex;
  align-items: center;
  flex-grow: 1;
  flex-basis: 0;
}

.navigation a,
.navigation > span {
  padding: 8px 32px;
  border-radius: 10px;
  flex-basis: 0;
  flex-grow: 1;
  text-align: center;
}

.header a:hover:not(.active),
.header .click:hover {
  background-color: hsl(0deg 0% 67.72% / 25%);
}

.active {
  background-color: hsl(0deg 0% 67.72% / 50%);
}

.search {
  min-width: 200px;
  background-color: brown;
  border-radius: 10px;
  display: flex;
  flex-grow: 1;
  flex-basis: 0;
}

.searchInput {
  border: 2px solid brown;
  border-right: none;
  border-radius: 10px;
  outline: none;
  padding: 7px 11px;
  flex-grow: 4;
  min-width: 0;
}

.searchButton {
  border: 2px solid brown;
  border-left: none;
  border-radius: 10px;
  background-color: inherit;
  color: white;
  flex-grow: 1;
  padding: 6px;
}

.cart {
  position: relative;

  text-wrap: nowrap;
}

.cartIcon {
  position: relative;
}

.cartSvg {
  width: 40px;
  height: auto;
  vertical-align: middle;
}

.amount,
.totalPrice {
  min-width: 20px;
  line-height: 1;
  font-size: 12px;
  padding: 2px 5px;
  font-weight: 600;
  border-radius: 20px;
  color: white;
}

.amount {
  background-color: #6e1212;
  vertical-align: super;
  position: absolute;
  top: -3px;
}

.totalPrice {
  background-color: #0e5b2d;
  vertical-align: sub;
  position: relative;
  top: 4px;
  display: inline-block;
}

.modal {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.click {
  cursor: pointer;
}

@media (width <= 1000px) {
  .header {
    position: static;
    box-shadow: none;
  }
  .navigation {
    box-shadow: 0 -2px 20px 8px hsla(0, 10%, 10%, 0.1);
    overflow-x: auto;
    font-size: 14px;
    padding: 10px;
    background-color: white;
    position: fixed;
    z-index: 3;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .navigation > a,
  .navigation > span {
    padding: 4px 10px;
  }
}
